package com.zkthink.ceres.finance.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 流水明细表
 * </p>
 *
 * @author vivi.huang
 * @since 2020-05-25
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "AccountSummaryDTO", description = "帐目汇总情况")
public class AccountSummaryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    public AccountSummaryDTO() {
        this.accumulateTurnover = 0L;
        this.cashOutApplyMoney = 0L;
        this.freezesMoney = 0L;
        this.cashOutMoney = 0L;
    }

    /**
     * 累计营业额
     */
    @ApiModelProperty(value = "累计营业额 单位：分")
    private Long accumulateTurnover;
    /**
     * 流水类型 1：订单入账，2：买家退款，3：提现
     */
    @ApiModelProperty(value = "冻结金额 单位：分")
    private Long freezesMoney;
    /**
     * 提现金额
     */
    @ApiModelProperty(value = "提现金额 单位：分")
    private Long cashOutMoney;
    /**
     * 提现申请的总金额
     */
    @ApiModelProperty(value = "提现中金额 单位：分")
    private Long cashOutApplyMoney;

}
